package org.sky;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 启动类
 */
@SpringBootApplication
@EnableFeignClients // 启动feign
@EnableDiscoveryClient // 表示eureka客户端
@MapperScan(basePackages = {"org.sky.*.dao"})
public class SkyTraceApplication {

    public static void main(String[] args) {
        SpringApplication.run(SkyTraceApplication.class, args);
    }
}
